import wy from '@/utils/axios/wy'


//提交订单
export function submitOrderApi(data: object) {
    return wy.request({
        url: '/member/order',
        method: 'post',
        data
    })
}

//获取订单详情
export function getOrderDetailApi(id: number) {
    return wy.request({
        url: `/member/order/${id}`,
        method: 'get'
    })
}